package com.hs.srm.admin.modules.harmfulsubstance.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hs.srm.admin.modules.harmfulsubstance.dao.SvhcVendorItemDao;
import com.hs.srm.admin.modules.harmfulsubstance.entity.SvhcVendorItemEntity;
import com.hs.srm.admin.modules.harmfulsubstance.service.SvhcVendorItemService;
import com.hs.srm.admin.modules.harmfulsubstance.vo.SvhcVendorVO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * ServiceImpl实现类
 *
 * @author ych
 * @since 2020-03-12 09:11:25
 */
@Service("svhcVendorItemService")
public class SvhcVendorItemServiceImpl extends ServiceImpl<SvhcVendorItemDao, SvhcVendorItemEntity> implements SvhcVendorItemService {
    @Resource
    private SvhcVendorItemDao svhcVendorItemDao;

    /**
     * 查询供应商填写的关注物质详情
     */
    @Override
    public List<SvhcVendorVO> selectSvhc(String svhcVendorHeadId) {
        return svhcVendorItemDao.selectSvhc(svhcVendorHeadId);
    }
}